package com.tuanzi.loan.business.entity.commuser;

import com.tuanzi.loan.core.entity.AuditEntity;
import com.tuanzi.loan.core.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Date;
@Data
@Entity
@Table(name ="COMM_USER")
public class CommuserInfo implements Serializable {
    private static final long serialVersionUID = 1113554558855759772L;
    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    @Column(name = "mobnum")
    private String mobnum;

    @Column(name="weibo")
    private String weibo;

    @Column(name="qq")
    private String qq;

    @Column(name="wechat")
    private String wechat;

    @Column(name="xiaomi")
    private String xiaomi;

    @Column(name="wxopenid")
    private String wxopenid;

    @Column(name="petname")
    private String petname;

    @Column(name="balance")
    private BigDecimal balance;

    @Column(name="mileage")
    private Integer mileage;

    @Column(name="createtime")
    private Timestamp createtimes;

    @Column(name="activetime")
    private Timestamp activetime;

    @Column(name="activedate")
    private Date activedate;

    @Column(name="lasttime")
    private Timestamp lasttime;

    @Column(name="birthday")
    private Date birthday;

    @Column(name="password")
    private String password;

    @Column(name="icon")
    private String icon;

    @Column(name="sex")
    private Integer sex;

    @Column(name="city")
    private String city;

    @Column(name="channel")
    private Integer channel;

    @Column(name="iconsavetype")
    private Integer iconsavetype;

    @Column(name="oil")
    private String oil;

    @Column(name="status")
    private Integer status;

    @Column(name="isavaliable")
    private Integer isavaliable;

    @Column(name="token3rd")
    private String token3rd;

    @Column(name="type3rd")
    private Integer type3rd;

    @Column(name="phoneid")
    private String phoneid;

    @Column(name="product_id")
    private String product_id;

    @Column(name="remark")
    private String remark;

}
